﻿<?xml version="1.0" encoding="utf-8" ?>
<!-- The entire set of text for the manager to load. -->
<Text>
  <!-- A specific event that can be called. The event is
       composed of a series of frames, which can change color,
       transparency and delivery mechanism. Events MUST have at least one frame,
       which in turn MUST have at least one part. -->
  <!-- List the unique fonts and textures to be used, other than buttons -->
  <Fonts>
    <Font ID="GameSmall" Path="Fonts/gamefontSmall" />
  </Fonts>
  <Textures>
    <Texture ID="Gradient" Path="Textures/Screens/gradient" />
  </Textures>
  <!-- Each event can be called by their ID. The background image can be
       specified, as can a final image to overlay when the background is fully
       expanded. The opening type, and pixels/second open/close rate are
       also specified. TopLeft specifies the XY percentage of screen dimensions where to start
       the background texture, and Dimensions specifies the XY percentage of the screen to occupy.
       StartDim is the starting dimension in pixels, either width or height depending on type.-->
  <TextEvent ID="IntroText" Background="Gradient" BackgroundColor="128,128,128,128" Foreground="" BackgroundOpening="ScrollLeft" StartDim="0" OpenSpeed="5" CloseSpeed="10" TopLeft="10, 80" Dimensions="80, 10">
    <!-- Each event is composed of frames, which are sets of text displayed together
         and can be skipped, if specified. They wait at the end for input from a continue
         button, or if not present, when the autocontinue time is reached. For "Type"
         style delivery, the letters are delivered one at a time, with the specified
         milliseconds between delivery. 
         When multiple buttons are specified, the icon shown is for the first in the list. -->
    <!-- ButtonLocation is in percentage of screen size where the center is, and button size is the size in pixels. -->
    <!-- Continue/Skip buttons can only be ABXY -->
    <TextFrame Font="GameSmall" ContinueButton="A,B" AutoContinueTime="-1" CanSkip="False" ButtonLocation="50,90" ButtonSize="32,32">
       <!--Each frame can have multiple parts, allowing different colors to be used in a single frame.--> 
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="100" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text="... where am I? ..." />
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="100" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text=" where is this? ..." />
    </TextFrame>
    <TextFrame Font="GameSmall" ContinueButton="A,B" AutoContinueTime="-1" CanSkip="False" ButtonLocation="50,90" ButtonSize="32,32">
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="100" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text="... " />
      <FramePart Color="255,0,0,255" TypeDelivery="Type" TimeBetweenChars="200" TextDecoration="Shadow" ShadowOffset="2" ShadowColor="0,0,0,255" Text="who " />
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="100" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text="am I..." />
    </TextFrame>
    <TextFrame Font="GameSmall" ContinueButton="A,B" AutoContinueTime="-1" CanSkip="True" ButtonLocation="50,90" ButtonSize="32,32">
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="200" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text="test\ntestfasdfassdfasdfasfas" />
      <FramePart Color="255,0,0,255" TypeDelivery="Type" TimeBetweenChars="200" TextDecoration="Shadow" ShadowOffset="2" ShadowColor="0,0,0,255" Text="whoasfasfdasfasfasfdasf " />
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="200" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text="am I.safasfasfasfasdfasfa.." />
    </TextFrame>
    <TextFrame Font="GameSmall" ContinueButton="A,B" AutoContinueTime="-1" CanSkip="False" ButtonLocation="50,90" ButtonSize="32,32">
      <!-- Each frame can have multiple parts, allowing different colors to be used in a single frame. -->
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="100" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text="... where am I? ..." />
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="100" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text=" where is this? ..." />
    </TextFrame>
    <TextFrame Font="GameSmall" ContinueButton="A,B" AutoContinueTime="-1" CanSkip="False" ButtonLocation="50,90" ButtonSize="32,32">
      <!-- Each frame can have multiple parts, allowing different colors to be used in a single frame. -->
      <FramePart Color="255,255,255,255" TypeDelivery="Immediate" TimeBetweenChars="100" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text="... whatsaywhat am I? ..." />
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="200" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text=".........." />
      <FramePart Color="255,255,255,255" TypeDelivery="Immediate" TimeBetweenChars="100" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text=" and come on where is this? ..." />
      <FramePart Color="255,255,255,255" TypeDelivery="Type" TimeBetweenChars="200" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text=".........." />
    </TextFrame>
  </TextEvent>
  <TextEvent ID="IntroContinueText" Background="Gradient" BackgroundColor="128,128,128,128" Foreground="" BackgroundOpening="ScrollRight" StartDim="0" OpenSpeed="5" CloseSpeed="10" TopLeft="10, 80" Dimensions="80, 10">
    <TextFrame Font="GameSmall" ContinueButton="" AutoContinueTime="2000" CanSkip="True" ButtonLocation="50,90" ButtonSize="32,32">
      <FramePart Color="255,255,255,255" TypeDelivery="Immediate" TimeBetweenChars="0" TextDecoration="Shadow" ShadowOffset="1" ShadowColor="0,0,0,255" Text="I need to get out of here!\nBut where??" />
    </TextFrame>
  </TextEvent>
</Text>
